<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>{BEESCRM:$title}</title>
    <meta name="description" content="">
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui, user-scalable=no">
    <meta http-equiv="cleartype" content="on">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/assets/base/busbooking/css/style.css">
</head>
<body>
<div class="wraper ">
    <div class="header ">
        <a href="/Base/BusBooking/demand/apply_id/{BEESCRM:$applyId}" class="iconfont icon-llmainpageback back"></a>

        <div class="title text-center font-16">购票记录</div>
    </div>
    <div class="content">
        <volist name="history" id="vo">
            <a href="/Base/BusBooking/orderList/apply_id/{BEESCRM:$applyId}/order_id/{BEESCRM:$vo.order_id}" class="list flex-between">
                <div class="left">
                    <p class="gray2">20{BEESCRM:$vo.check_time|date='y-m-d',###}&nbsp;{BEESCRM:$vo.departure_time}&nbsp;&nbsp;{BEESCRM:$vo.start_address}—{BEESCRM:$vo.end_address}</p>

                    <p class="gray font-12"><if condition="$vo.status eq 2 ">乘车时间：20{BEESCRM:$vo.checked_time|date='y-m-d H:i',###}
                        <else />暂未乘车
                    </if>
                        </p>


                </div>
                <div class="right">
                    <p class=" text-right gray2">{BEESCRM:$vo.order_amount}元</p>

                    <div class="gray font-12">
                        <if condition="$vo.status eq 2" >已使用
                        <elseif condition="$vo.status eq 3"/>已过期
                         <elseif condition="$vo.status eq 1"/>未使用
                        </if>
                    </div>
                </div>
            </a>
        </volist>
    </div>

</div>
</body>
<script src="/assets/base/busbooking/js/jquery-2.1.0.min.js"></script>
<script>
    var height = $(window).height();
    $('.wraper').css('minHeight', height);
</script>
</html>